/**
 * jims
 */
package com.jims.master.modules.blood.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jims.master.common.persistence.Page;
import com.jims.master.common.service.CrudService;
import com.jims.master.modules.blood.entity.BloodCapacity;
import com.jims.master.modules.blood.dao.BloodCapacityDao;

/**
 * 申请用血量表Service
 * @author CTQ
 * @version 2017-04-10
 */
@Service
@Transactional(readOnly = true)
public class BloodCapacityService extends CrudService<BloodCapacityDao, BloodCapacity> {

	public BloodCapacity get(String id) {
		return super.get(id);
	}
	
	public List<BloodCapacity> findList(BloodCapacity bloodCapacity) {
		return super.findList(bloodCapacity);
	}
	
	public Page<BloodCapacity> findPage(Page<BloodCapacity> page, BloodCapacity bloodCapacity) {
		return super.findPage(page, bloodCapacity);
	}
	
	@Transactional(readOnly = false)
	public int save(BloodCapacity bloodCapacity) {
		return super.save(bloodCapacity);
	}
	
	@Transactional(readOnly = false)
	public int delete(BloodCapacity bloodCapacity) {
		return super.delete(bloodCapacity);
	}
	
}